/*
 * Copyright 2021 Shulie Technology, Co.Ltd
 * Email: shulie@shulie.io
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/*
  *原子样式
*/

// 品牌主色
@color-brandPrimary-01: #2ba3aa;
@color-brandPrimary-02: #3baeb4;
@color-brandPrimary-03: #4ac5cb;
@color-brandPrimary-04: #27c079;
@color-brandPrimary-05: #29daa2;
@color-brandPrimary-06: #93deba;
@color-brandPrimary-07: #e0f3ea;
@color-brandPrimary-08: #d1f9e6;

// font-family
@fontFamily-En-01: pingfang;

// font-size
@fontSize-01: 12px;
@fontSize-02: 13px;
@fontSize-03: 14px;
@fontSize-04: 15px;
@fontSize-05: 16px;
@fontSize-06: 22px;
@fontSize-07: 24px;
@fontSize-08: 32px;

// font-weight
@fontWeight-light: 300;
@fontWeight-regular: 400;
@fontWeight-medium: 600;
@fontWeight-bold: 800;

// line-height
@fontLineHeight-01: 1.3;
@fontLineHeight-02: 1.5;
@fontLineHeight-03: 1.7;

/*
 * 复原子
*/
// Table

@table-header-bg: @color-brandPrimary-01;

:global {
  .ant-table-tbody {
    > tr:hover:not(.ant-table-expanded-row) > td,
    .ant-table-row-hover,
    .ant-table-row-hover > td {
      background: #e5f2ff !important;
    }
  }
  .ant-table-fixed {
    .ant-table-row-hover,
    .ant-table-row-hover > td {
      background: #e5f2ff;
    }
  }
}
